package com.gmadmin.entity.vo.dict;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.gmadmin.common.BaseEntity;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @author zhangliang
 * @version 1.0
 * @date 2022/6/8 13:07
 */
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class SysDictVo  extends BaseEntity {

    /**
     * ID
     */
    @ApiModelProperty(value = "字典id")
    private Long id;

    /**
     * 字典名称
     */
    @ApiModelProperty(value = "字典名称")
    private String name;

    /**
     * 描述
     */
    @ApiModelProperty(value = "字典描述")
    private String description;


    /**
     * 状态
     */
    @ApiModelProperty(value = "字典状态", notes = "0是禁用,1是启用")
    private Boolean enabled;


    /**
     * 字典详情对应
     */
    @ApiModelProperty(value = "字典详情对应关系")
    private List<SysDictDetailVo> dictDetails;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public List<SysDictDetailVo> getDictDetails() {
        return dictDetails;
    }

    public void setDictDetails(List<SysDictDetailVo> dictDetails) {
        this.dictDetails = dictDetails;
    }
}
